package cn.exrick.xboot.modules.Information.serviceimpl;

import cn.exrick.xboot.modules.Information.dao.mapper.CrossCheckMapper;
import cn.exrick.xboot.modules.Information.entity.CrossCheck;
import cn.exrick.xboot.modules.Information.service.ICrossCheckService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.List;

/**
 * 断面考核接口实现
 * @author Lyg
 */
@Slf4j
@Service
@Transactional
public class ICrossCheckServiceImpl extends ServiceImpl<CrossCheckMapper, CrossCheck> implements ICrossCheckService {

    @Autowired
    private CrossCheckMapper crossCheckMapper;

    @Override
    public List<CrossCheck> queryAllByDate(String date,String deptId) {
        return crossCheckMapper.queryAllByDate(date,deptId);
    }
}